LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)
LEAD Technologies, Inc

Register<I>(I,String) Method






Type of instance to register (may be an implemented interface instead of the full type).
Object to be returned.
The name of the instance.
Registers an instance with the container.
Syntax
public static void Register<I>( 
   I instance,
   string name
)
'Declaration
 
Public Overloads Shared Sub Register(Of I)( _
   ByVal instance As I, _
   ByVal name As String _
) 
'Usage
 
Dim instance As I
Dim name As String
 
ServiceLocator.Register(Of I)(instance, name)
public static void Register<I>( 
   I instance,
   string name
)
 function Leadtools.Dicom.AddIn.ServiceLocator.Register``1(``0,String)( 
   instance ,
   name 
)
public:
static void Registergeneric<typename I>
( 
   I^ instance,
   String^ name
) 

Parameters

instance
Object to be returned.
name
The name of the instance.

Type Parameters

I
Type of instance to register (may be an implemented interface instead of the full type).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServiceLocator Class
ServiceLocator Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features